home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / parad / feb94 / chal16.gif < prev    next >
Graphics Interchange Format  |  1996-02-13  |  34KB  |  654x799  |  4-bit (4 colors)
Labels: text | screenshot | font | black and white | number | document
OCR: Variable Function dyIndexes Tagged on descriptive index name, the dyindexes DynArray contains the names of indexes that the user has access to. This variable must be defined in the calling form. The custom DefineIndexes method shown in Figure 4 was designed for this purpose. dy SortInfo The dySortinfo DynArray contains information about the currently selected index and filter. Its Index element contains the name of the current index. This defaults to the index indicated as the primary index the first time the Sort/Filter dialog box is run. The Filter element contains the current filter value. This defaults to "None" the first time you run the Sort/Filter tool. The values in this dynarray will be changed based on the user's selections. This dynarray is passed back to the calling form through the Sort/Filter button's PutInfo method. This is how the Sort/Filter button is made "aware" of the current index and filter values. tcMast The TCursor tcMast is attached to the object we have identified as uiMastTable. Remember, we must specify the master table UlObject in the calling form. This TCursor is used primarily to get the current values of the selected index's fields. It's also used in the custom method ResetFilterValues to enumerate the structure of the selected index. dy MastRec This DynArray is produced by copying the current record indicated by the TCursor tcMast, into an array. This contains the field values to be filtered on.